package com.example.pojo;

public class Help {
    private Integer hId;
    private Integer aId;
    private String avatar;
    private String title;
    private String content;
    private Integer likes;
    private Integer readTimes;
    private String publishTime;

    public Help() {
    }

    public Help(Integer hId, Integer aId, String avatar, String title, String content, Integer likes, Integer readTimes,
             String publishTime) {
        this.hId = hId;
        this.aId = aId;
        this.avatar = avatar;
        this.title = title;
        this.content = content;
        this.likes = likes;
        this.readTimes = readTimes;
        this.publishTime = publishTime;
    }

    public Integer gethId() {
        return hId;
    }

    public void sethId(Integer hId) {
        this.hId = hId;
    }

    public Integer getaId() {
        return aId;
    }

    public void setaId(Integer aId) {
        this.aId = aId;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getLikes() {
        return likes;
    }

    public void setLikes(Integer likes) {
        this.likes = likes;
    }

    public Integer getReadTimes() {
        return readTimes;
    }

    public void setReadTimes(Integer readTimes) {
        this.readTimes = readTimes;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    @Override
    public String toString() {
        return "Help{" +
                "hId=" + hId +
                ", aId=" + aId +
                ", avatar='" + avatar + '\'' +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", likes=" + likes +
                ", readTimes=" + readTimes +
                ", publishTime='" + publishTime + '\'' +
                '}';
    }
}
